<!--title-->
<div class="mnav1">
	<div class="m_nav">
		<div class="nav_left">
			<em class="home_icon"><?=$this->sys_name?></em><span>&nbsp;&gt;&nbsp;</span><a href='/dcc/companies'>店铺管理</a><span>&nbsp;&gt;&nbsp;</span><a href='/dcc/companies-user'>坐席管理</a><span>&nbsp;&gt;&nbsp;</span><font><?=$this->title?></font>
		</div>
	</div>
</div>

<div class="content-table2">
<div class="content-table-title"><?=$this->title?></div>
<div class="form-edit-task">

<form action="/dcc/companies-user-edit-submit" method="post" name="form1" onsubmit="submitform(this);return false;">
<table border="0" width="100%">
	<tr>
		<td align="right">坐席姓名：</td>
		<td align="left">&nbsp;<input type="text" placeholder="坐席姓名" name="user_name" id="user_name" value="<?=$this->data['user_name']?>" style="width: 300px"></td>
	</tr>
	<tr>
		<td align="right">手机号：</td>
		<td align="left">&nbsp;<input type="text" placeholder="手机号" name="cellphone" id="cellphone" value="<?=$this->data['cellphone']?>" style="width: 300px"><font color="red"> 系统登录名</font></td>
	</tr>
	<tr>
		<td align="right">登录密码：</td>
		<td align="left">&nbsp;<input type="text" placeholder="登录密码" name="pwd" id="pwd" autocomplete="off" style="width: 300px"></td>
	</tr>
	<tr>
		<td align="right">分机号：</td>
		<td align="left">&nbsp;<input type="text" placeholder="分机号" name="call_phone" id="call_phone" value="<?=$this->data['call_phone']?>" style="width: 300px"></td>
	</tr>
	<tr>
		<td align="right">状态：</td>
		<td align="left">&nbsp;<select name="status" id="status">
					<option value="1" <?php if($this->data['status']):?>selected="selected"<?php endif;?>>正常</option>
					<option value="0" <?php if(!$this->data['status']):?>selected="selected"<?php endif;?>>离职</option>
				</select>
		</td>
	</tr>
	<tr>
		<td colspan="2" align="center"><br><br>
			<input type="hidden" name="user_id" value="<?=$this->user_id?>" />
			<input type="button" class="buttonlong" value="提交" onclick="submitform();return false;" />
		</td>
	</tr>
</table>
<br /><br />
</form>
</div>
<br/><br/>
</div>

<script>
<?php if($this->msg):?>
alert("<?=$this->msg?>, 信息提交失败, 请修改后再次提交。");
<?php endif;?>

function submitform() 
{
	form1.submit();
}
</script>
